home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 June / PersonalComputerWorld-June2009-CoverdiscCD.iso / Software / Freeware / Adobe AIR 1.5.1 / AdobeAIRInstaller.exe / setup.swf / scripts / mx / events / EffectEvent.as < prev    next >
Encoding:
Text File  |  2009-02-12  |  865 b   |  32 lines

  1. package mx.events
  2. {
  3.    import flash.events.Event;
  4.    import mx.core.mx_internal;
  5.    import mx.effects.IEffectInstance;
  6.    
  7.    use namespace mx_internal;
  8.    
  9.    public class EffectEvent extends Event
  10.    {
  11.       mx_internal static const VERSION:String = "3.0.0.0";
  12.       
  13.       public static const EFFECT_END:String = "effectEnd";
  14.       
  15.       public static const EFFECT_START:String = "effectStart";
  16.       
  17.       public var effectInstance:IEffectInstance;
  18.       
  19.       public function EffectEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:IEffectInstance = null)
  20.       {
  21.          super(param1,param2,param3);
  22.          this.effectInstance = param4;
  23.       }
  24.       
  25.       override public function clone() : Event
  26.       {
  27.          return new EffectEvent(type,bubbles,cancelable,effectInstance);
  28.       }
  29.    }
  30. }
  31.  
  32.